package com.spzx.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spzx.product.api.domain.Brand;
import com.spzx.product.domain.CategoryBrand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryBrandMapper extends BaseMapper<CategoryBrand> {
    List<CategoryBrand> selectByCidAndBid(Page<CategoryBrand> page, @Param("categoryBrand") CategoryBrand categoryBrand);

    int batchDeleteByIds(List<Long> ids);

    List<Brand> selectBrandsByC3id(Long c3id);
}
